package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.common.utils.StringUtils;
import lombok.Data;

import java.util.Date;

@Data
public class DTVeriFail {

    private Integer id;

    private Long userId;

    private String type;

    private String keyword;

    private String pass;

    private String msg;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public DTVeriFail() {
    }

    public DTVeriFail(DtQuery smQuery) {
        this.type = "1";
        this.userId = smQuery.getUserId();
        String kw = smQuery.getName() + "::" + smQuery.getCardNo();
        this.setKeyword(kw);
        this.pass = "0";
    }

}
